import React from "react";
import { BrowserRouter as Router, Route, Link, Routes } from "react-router-dom";
import Getup from "./workplace/Getup";
import Money from "./workplace/Money";

function WorkPlace() {
    return (
        <div>
            <div className="topNav">
                <ul>
                    <li><Link to='/workplace/getup'>React教程</Link></li>
                    <li><Link to='/workplace/money'>flutter教程</Link></li>
                </ul>
            </div>
            <div className="videoContent">
                <div><h3>职场技能</h3></div>
                <Routes>
                    <Route path='/' exact element={<Getup />}></Route>
                    <Route path='/getup' exact element={<Getup />}></Route>
                    <Route path='/money' exact element={<Money />}></Route>
                </Routes>
            </div>
        </div>
    ) 
}
export default WorkPlace

